package com.fcy.teamwork.repo.service

import com.fcy.teamwork.pojo.Person
import com.fcy.teamwork.pojo.TeamWorkResult
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

interface SystemService {


    @POST("sms/sys/login/")
    suspend fun login(@Body person: Person): TeamWorkResult<HashMap<String,Any>>

    @GET("sms/sys/index")
    suspend fun test():String
}